﻿<%@ Page Title="" Language="C#" validateRequest="false" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="DatosCurriculum.aspx.cs" Inherits="DatosCurriculum" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>

    <asp:HiddenField ID="HiddenField1" runat="server" />

    <table >
    <tr><td valign="top">
     
                <asp:Image ID="Image1" runat="server" Width="150px" />
            <td>
     
       <h2>Datos personales</h2>
             <table style="width: 700px">
                <tr><td>&nbsp;</td></tr>
                <tr>
                    <td><asp:Label ID="Label1" runat="server" Text="Nombre Completo"></asp:Label></td>     
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtNombreCompleto" runat="server" Width="450px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td><asp:Label ID="Label3" runat="server" Text="Objetivo profesional"></asp:Label></td>     
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtObjetivoProfesional" runat="server" Width="450px" 
                            TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td><asp:Label ID="Label2" runat="server" Text="Puesto Solicitado"></asp:Label></td>                    
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtExpectativas" runat="server" TextMode="MultiLine" 
                            Width="485px" Height="26px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td><asp:Label ID="Label4" runat="server" 
                            Text="Sueldo minimo deseado (Pesos por Mes)"></asp:Label></td>     
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtSueldoDeseado" runat="server" Width="450px"></asp:TextBox>
                    </td>
                </tr>

             </table>
        <h2>Escolaridad</h2>
             <table style="width: 700px">
             <tr><td>
             <table style="width: 700px">

             <tr> 

             <td>Escuela</td><td>              
                 <asp:TextBox ID="Escuela" runat="server" Width = "350px"></asp:TextBox></td>                                  
                 <td>A&ntilde;os</td><td><asp:TextBox ID="anos" runat="server" Width="30px"></asp:TextBox></td></tr>
                 <tr>
                 <td>Carrera</td><td><asp:TextBox ID="Carrera" runat="server" Width="350px"></asp:TextBox></td>
                 <td>Título</td><td><asp:TextBox ID="Titulo" runat="server" Width="300px"></asp:TextBox></td> </tr>
                 
                 <td><asp:Button ID="btnAgregar1" runat="server" Text="agregar" 
                         onclick="btnAgregar1_Click" /></td>
                 </table>

                 </td></tr>
             <tr>
                <td>
               
                    <asp:GridView ID="dgEstudios" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="renglon" AutoGenerateColumns="False" BackColor="White" 
                            BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                            GridLines="Horizontal" 
                            onselectedindexchanged="dgEstudios_SelectedIndexChanged">
                        <AlternatingRowStyle BackColor="#F7F7F7" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="Editar"/>
                            <asp:BoundField 
                             DataField="Escuela" 
                             HeaderText="Escuela"
                             SortExpression="Escuela" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Carrera" 
                             HeaderText="Carrera"
                             SortExpression="Carrera" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Titulo" 
                             HeaderText="Titulo"
                             SortExpression="Titulo" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="anos" 
                             HeaderText="Tiempo"
                             SortExpression="anos" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                       </Columns>
                        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <SortedAscendingCellStyle BackColor="#F4F4FD" />
                        <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
                        <SortedDescendingCellStyle BackColor="#D8D8F0" />
                        <SortedDescendingHeaderStyle BackColor="#3E3277" />
                    </asp:GridView>
               
                </td>

             </tr>

             </table>
        <h2>Experiencia</h2>
             <table style="width: 700px">
             <tr>
             <td>
             <table><tr><td>Empresa</td>
             <td>
                 <asp:TextBox ID="empresa" runat="server" Width = "200px"></asp:TextBox></td>                            
              <td>Puesto</td><td><asp:TextBox ID="txtPuesto" runat="server" Width = "200px"></asp:TextBox></td><td>
              <td>Responsabilidades</td><td><asp:TextBox ID="Responsabilidades" runat="server" Width = "200px"></asp:TextBox></td>
              <tr>
              <%--<td>Años</td><td><asp:TextBox ID="AnosEmpresa" runat="server"></asp:TextBox></td>--%>
              <td>Fecha Inicio</td><td><asp:TextBox ID="txtDe" runat="server"></asp:TextBox></td>
              <td>Fecha Fin</td><td><asp:TextBox ID="txtHasta" runat="server"></asp:TextBox></td>
              </tr><td>

                     <asp:Button ID="btnAgregar2" runat="server" Text="agregar" 
                         onclick="btnAgregar2_Click" /></td></tr>
              </table>
              </td>
              </tr>

             <tr>
                <td>
                    
                    <asp:GridView ID="dgExperiencias" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="renglon" AutoGenerateColumns="False" BackColor="White" 
                            BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                            GridLines="Horizontal" 
                            onselectedindexchanged="dgExperiencias_SelectedIndexChanged">
                        <AlternatingRowStyle BackColor="#F7F7F7" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="Editar"/>
                            <asp:BoundField 
                             DataField="Empresa" 
                             HeaderText="Empresa"
                             SortExpression="Empresa" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
<%--                            <asp:BoundField 
                             DataField="anos" 
                             HeaderText="Años"
                             SortExpression="anos" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>--%>
                            <asp:BoundField 
                             DataField="puesto" 
                             HeaderText="Puesto"
                             SortExpression="puesto" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="responsabilidades" 
                             HeaderText="Responsabilidades"
                             SortExpression="responsabilidades" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="de" 
                             HeaderText="De"
                             SortExpression="de" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="hasta" 
                             HeaderText="Hasta"
                             SortExpression="hasta" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                       </Columns>
                        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <SortedAscendingCellStyle BackColor="#F4F4FD" />
                        <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
                        <SortedDescendingCellStyle BackColor="#D8D8F0" />
                        <SortedDescendingHeaderStyle BackColor="#3E3277" />
                    </asp:GridView>
                   
                </td>
             </tr>
                          </table>
        <h2>Cursos</h2>
             <table style="width: 700px">
             <tr>
                <td>
                    <table><tr><td>Cursos</td>
                    <td><asp:TextBox ID="txtCurso" runat="server" Width = "200px"></asp:TextBox></td>
                    <td>Año que tomo el curso</td>
                    <td><asp:TextBox ID="txtAnoCurso" runat="server" Width = "100px"></asp:TextBox></td>
                    <td>Institución</td>
                    <td><asp:TextBox ID="txtInstitucion" runat="server" Width = "100px"></asp:TextBox></td>
                    <td></td>
                    <td><asp:Button ID="btnAgregar3" runat="server" Text="agregar" onclick="btnAgregar3_Click" 
                          /></td>              
              </table>
                </td>
             </tr>

                          <tr>
                <td>
                    
                    <asp:GridView ID="grdCursos" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="renglon" AutoGenerateColumns="False" BackColor="White" 
                            BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                            GridLines="Horizontal" 
                            onselectedindexchanged="grdCursos_SelectedIndexChanged">
                        <AlternatingRowStyle BackColor="#F7F7F7" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="Editar"/>
                            <asp:BoundField 
                             DataField="Curso" 
                             HeaderText="Curso"
                             SortExpression="Curso" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="anocurso" 
                             HeaderText="Anos curso"
                             SortExpression="anocurso" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="institucion" 
                             HeaderText="Institucion"
                             SortExpression="institucion" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                       </Columns>
                        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <SortedAscendingCellStyle BackColor="#F4F4FD" />
                        <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
                        <SortedDescendingCellStyle BackColor="#D8D8F0" />
                        <SortedDescendingHeaderStyle BackColor="#3E3277" />
                    </asp:GridView>
                   
                </td>
             </tr>
                                       </table>
        <h2>Idiomas</h2>
             <table style="width: 700px">
             <tr>
                <td>
                    <table><tr><td>Idiomas</td>
                    <td><asp:TextBox ID="txtIdioma" runat="server" Width = "200px"></asp:TextBox></td>
                    <td>Porcentaje</td>
                    <td><asp:TextBox ID="txtPorcentaje" runat="server" Width = "200px"></asp:TextBox></td>
                    <td><asp:Button ID="btnAgregar4" runat="server" Text="agregar" onclick="btnAgregar4_Click"/>
                    </td></tr>              
              </table>
                </td>
             </tr>

                          <tr>
                <td>
                    
                    <asp:GridView ID="grdIdioma" runat="server"
                       Width="100%" AllowPaging="True" AllowSorting="True" 
                        DataKeyNames="renglon" AutoGenerateColumns="False" BackColor="White" 
                            BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                            GridLines="Horizontal" 
                            onselectedindexchanged="grdIdioma_SelectedIndexChanged">
                        <AlternatingRowStyle BackColor="#F7F7F7" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="Editar"/>
                            <asp:BoundField 
                             DataField="Idioma" 
                             HeaderText="Idioma"
                             SortExpression="Idioma" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Porcentaje" 
                             HeaderText="Porcentaje"
                             SortExpression="Porcentaje" 
                             ControlStyle-Width="100px" >
                            <ControlStyle Width="100px" />
                            </asp:BoundField>
                       </Columns>
                        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                        <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <SortedAscendingCellStyle BackColor="#F4F4FD" />
                        <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
                        <SortedDescendingCellStyle BackColor="#D8D8F0" />
                        <SortedDescendingHeaderStyle BackColor="#3E3277" />
                    </asp:GridView>
                   
                </td>
             </tr>

                                       </table>
        <h2>Habilidades Computacionales</h2>
             <table style="width: 700px">
                          <tr>
                <td>
                        <asp:TextBox ID="txtHabilidadesComp" runat="server" TextMode="MultiLine" Width="450px" 
                        Height="100px"></asp:TextBox>
                </td>
             </tr>
             </table>

<%--        <h2>Describe tus características principales.</h2>
             <table>
             <tr><td>&nbsp;</td></tr>
             <tr>
                <td>
                    <asp:TextBox ID="txtTexto1" runat="server" TextMode="MultiLine" Width="450px" 
                        Height="100px"></asp:TextBox>
                </td>
             </tr>
             </table>--%>
<%--         <h2>Habilidades</h2>
             <table>
             <tr><td>&nbsp;</td></tr>
             <tr>
                <td>
                    <asp:TextBox ID="txtTexto2" runat="server" TextMode="MultiLine" Width="450px" 
                        Height="100px"></asp:TextBox>
                </td>
             </tr>
             </table>--%>
        

    </td></tr>
    <tr>
        <td>
        <table>
            <tr>
                <td>Disponibilidad de horario</td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtDispHorario" runat="server" Width = "200px"></asp:TextBox>
                </td>
            </tr>
                <tr>
            <td>Recuerda cargar tu fotografía si aún no la tienes</td>                    
        </tr>
        <tr>
            <td>
                <asp:FileUpload ID="imgUpload" runat="server" />
            </td>
            <td>
                &nbsp;</td>               
        </tr>
    </table>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="lblMensaje" runat="server" Font-Bold="True" Font-Size="Medium" 
                ForeColor="Red"></asp:Label>  </td>
    </tr>
    <tr>
        <td>
            <asp:Button ID="btnGuardar" runat="server" Text="Guardar" 
                onclick="btnGuardar_Click" />
        </td>
    </tr>
</table>
    </table>
</table>
</asp:Content>

